import request from '@/utils/request'
export const getList = (data) => {
    return request({
        url: '/user/get_member_list',
        method: 'get',
        params: data
    })
}


export const del = (id) => request({
    url: '/member/del',
    method: 'post',
    data: { id: id }
})
export const add = (data) => request({
    url: '/member/add',
    method: 'post',
    data: data
})
export const update = (data) => request({
    url: '/member/edit',
    method: 'post',
    data: data
})

// 修改字段

export const updateStatus = (data) => request({
    url: '/user/modify_field',
    method: 'post',
    data: data
})